// Avoid PHP 7.1 warning of passing $this by reference
$articlePage = $this;
- ContentHandler::runLegacyHooks(
+ Hooks::run(
'ArticleAfterFetchContentObject',
- [ &$articlePage, &$this->mContentObject ],
- '1.21'
+ [ &$articlePage, &$this->mContentObject ]
);
return $this->mContentObject;
}
/**
- * Returns an array of categorie titles (usually without the namespace), which
+ * Returns an array of category titles (usually without the namespace), which
* shouldn't be listed on this page, even if they're uncategorized.
*
* @return array